package org.anti996.bankms;

import org.anti996.bankms.controller.HomeController;
import org.anti996.bankms.controller.Navigator;
import org.anti996.bankms.util.MessageUtil;

public class Main {
    public static void main(String[] args) {
        if (args.length == 3) {
            Configure.DB_URL = args[0];
            Configure.DB_USER = args[1];
            Configure.DB_PASSWORD = args[2];
        }
        MessageUtil.infoln("欢迎");
        Navigator.push(new HomeController());
        Navigator.execute();
        MessageUtil.infoln("再见");
    }
}

// TodoList
// 1.美化输入输出 2.显示历史转账记录并画出图表 3.页面的切换与按键动作 4.配置类
